package NGUYENVANDOAN.OOP.EXCERCISE.EX02;

public class CONTROLLERS {
    
    private MODELS m_objModels;
    
    public CONTROLLERS(){
        m_objModels = new MODELS();
    }
    
    /***
     * Nghiệp vụ xử lý tính toán 
     * @param a
     * @param b
     * @param opt 0 - Cộng;1 - Trừ;2 - Nhân;3 - Chia
     * @return
     */
    public double ExecCalculators(double a, double b, short opt){
        return m_objModels.Calcutors(a, b, opt);
    }
}
